import { Toast } from 'vant';
export default{
	data() {
	    return {
	        name: '等待接收数据，下方输入传递',
	        loading: true,
			title:'成功拿到了我~~我是mixin的数据',
			test:'测试数据--mixin'
	    };
	},
	methods: {
	    endSkeleton() {
	        this.loading=false
	    },
		loadSkeleton(){
			this.loading=true
		},
		getMsg(msg){
			setTimeout(()=>{
				Toast('~正在给mixin传值~');
				setTimeout(()=>{
					this.name=`已收到传值，值为：${msg}`;
					Toast(`已收到传值，值为：${msg}`)
				},1000)
			},500)
		}
	},
}